package ru.gerunn;

import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

@SuppressWarnings("restriction")
@WebService
@SOAPBinding(style = Style.RPC)
public class HelloWs {

	public String sayHello(String name) {

		System.out.println("Helloe!!");

		if (name == null) {
			return "Hello";
		}

		return "Hello, " + name + "!";
	}
}